package pers.youqu.item.service;

import com.baomidou.mybatisplus.extension.service.IService;
import pers.youqu.item.dto.CategoryDTO;
import pers.youqu.item.po.Category;

import java.util.List;

/**
 * @author Jason
 * @version 1.0.0
 * @date 2020/12/4 11:40
 * @Description TODO
 */
public interface CategoryService extends IService<Category> {

    CategoryDTO findCategoryById(Long id);

    List<CategoryDTO> findCategoryByListId(List<Long> ids);

    List<CategoryDTO> findCategoryByBrandId(Long id);

    List<CategoryDTO> findCategoryByParentId(Long pid);
}
